<template>
  <div id="app">
    <!-- <Product />
    <hr>
    <Cart /> -->
    <Select />
  </div>
</template>
<script>
  import Product from './components/Product/index.vue';
  import Cart from './components/Cart/index.vue';
  import { login, getWeather } from '@/api'
  import Select from './components/Select/index.vue';
  export default {
    components: { Product, Cart, Select },
    mounted() {
      login()
        .then(res => {
          console.log(res)
        })


      //获取天气
      getWeather()
        .then(res => {
          console.log(res)
        })

    }
  }
</script>